import assessCheckApi from './api'
import { axios } from '@/utils/request'
import router from '@/router/index'
import blobType from '@/common/blobType'

//获取icon图标列表
export function queryIconList(data) {
    return axios({
        url: assessCheckApi.queryIconList,
        method:'get' ,
        params:data,
        url_1:'outside'
    })
}
//icon图标-分页查询
export function queryPageIcon(data) {
    return axios({
        url: assessCheckApi.queryPageIcon,
        method:'get' ,
        params:data,
        url_1:'outside'
    })
}
// 批量删除icon图标
export function deleteIcon(data){
    return axios({
        url: assessCheckApi.deleteIcon,
        method:'post',
        data:{...data},
        url_1:'outside',
    })
}
// 添加icon图标
export function addIcon(data){
    return axios({
        url: assessCheckApi.addIcon,
        method:'post',
        data:{...data},
        url_1:'outside',
    })
}
  // 更新icon图标
export function updateIcon(data){
    return axios({
        url: assessCheckApi.updateIcon,
        method:'put' ,
        data:{...data},
        url_1:'outside',
    })
}
